package thread.zjitc.net.lib.HomeWork2;

/**
 * @author 朱志文
 * @data 2019/10/21 0021
 */
public class MyThreadRunnable implements Runnable {
    MyThread2 myThread2;
    private int num;

    public MyThreadRunnable(MyThread2 myThread2, int num) {
        this.myThread2 = myThread2;
        this.num = num;
    }

    @Override
    public void run() {
        myThread2.Test2(num);
    }
}
